home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / TestParts / Draw / DrwShared.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-01  |  1.4 KB  |  56 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        DrwShared.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Owned by:    Nick Pilch
  7.  
  8.     Copyright:    © 1994 - 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <2>     9/13/95    NP        1269380: Crash with TSMTE and modified
  13.                                     dialogs.
  14.          <1>     8/30/94    NP        first checked in
  15.  
  16.     To Do:
  17. */
  18.  
  19. #ifndef _DRWSHARED_
  20. #define _DRWSHARED_
  21.  
  22. #ifndef _ODTYPES_
  23. #include <ODTypes.h>
  24. #endif
  25.  
  26. //==============================================================================
  27. // Forward decls
  28. //==============================================================================
  29.  
  30. class AppleTest_Container;
  31.  
  32. //==============================================================================
  33. // Types
  34. //==============================================================================
  35.  
  36. class PartInfoRec 
  37. {
  38. public:
  39.     PartInfoRec() { fIsActive = kODFalse; fNeedsActivating = kODFalse; }
  40.     virtual ~PartInfoRec() { }
  41.     RGBColor    bgColor;
  42.     RgnHandle    bgClipRegion;
  43.     ODBoolean    fIsActive;    // Does this frame have its focus set?
  44.     ODBoolean    fNeedsActivating;    // should this be activated when its window
  45.                                     //    is activated?
  46. };
  47.  
  48. //==============================================================================
  49. // Routines
  50. //==============================================================================
  51.  
  52. void BringUpTSMTETestDialog(Environment* ev, AppleTest_Container* somSelf,
  53.                                 ODFrame* frame);
  54.  
  55. #endif // _DRWSHARED_
  56.